package com.tyqx.hashchainbiz.service.impl;

import com.tyqx.hashchainbean.module.HashChainPassword;
import com.tyqx.hashchainbiz.service.HashChainPasswordService;
import com.tyqx.hashchaindao.mapper.HashChainPasswordMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("hashChainPasswordService")
public class HashChainPasswordServiceImpl implements HashChainPasswordService {

    @Resource
    private HashChainPasswordMapper hashChainPasswordMapper;

    @Override
    public List<HashChainPassword> getHashChainPasswordList() {
        return hashChainPasswordMapper.getHashChainPasswordList();
    }

    @Override
    public HashChainPassword getHashChainPasswordByName(String nodeName,String composeProjectName,String nodeUserName) {
        return hashChainPasswordMapper.getHashChainPasswordByNodeName(nodeName,composeProjectName,nodeUserName);
    }
}
